﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.Attributes;

namespace HPFCommon.Data.Domain
{
    [ClassAttribute(Table = "Entity")] 
    public class BaseIntModel
    {
        [Id(0, Name = "Id", TypeType = typeof(int), Column = "Id", UnsavedValue = "0")]
        [Key(1)]
        [Generator(2, Class = "native")]
        public int Id { get; set; }
    }
}
